package com.chenjt.three_tools;

import dev.langchain4j.model.openai.OpenAiChatModel;

/**
 * 注释：
 *
 * @author chenjt
 * @date 2025/3/7 15:58
 */
public class Demo1 {


    public static void main(String[] args) {
        OpenAiChatModel model = OpenAiChatModel.builder()
                .apiKey("demo")
                .modelName("gpt-4o-mini")
                .build();

        System.out.println(model.generate("今天是几月几号"));
    }

}
